\input{common.tex}
\begin{document}
\begin{tikzpicture}[main]
    \boundingbox
    \usualsetup
    \branch master -> E;
    \branch maint -> A;
    \oldHEAD -> master;
    \HEAD -> maint;

    \node [cmd] at (0, 3.75) {git checkout maint};

    \path [line]
        (A) edge [bend right=22] (index)
        (A) edge [bend right=35] (work)
        (old HEAD label) edge [dashed, bend right=10] (HEAD label)
        ;

\end{tikzpicture}
\end{document}
